{% extends "student/layout.html" %}

{% set page_title = __('修改密码') %}

{% block content %}
<div class="m-scontent">
	<fieldset class="fieldset">
		<legend>{{__('修改密码')}}</legend>
		<form action="" method="post" enctype="multipart/form-data" class="form-horizontal">
        {% from "common/_formhelper.html" import render_field %}
        {{ form.hidden_tag() }}
		{{ render_field(form.old_pwd, class_="form-control", required=True) }}

		{{ render_field(form.new_pwd, class_="form-control", required=True) }}

		{{ render_field(form.confirm_pwd, class_="form-control", required=True) }}


			<div>
				<button class="btn btn-primary">{{__('保存')}}</button>
			</div>
		</form>
	</fieldset>
</div>
{% endblock %}
